package com.itheima.day09;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Collection_Contain {
    public static void main(String[] args) {
        //
        Map<String, List<String>> city = new HashMap<>();
        String PROVINCE = "北京";
        List<String> CITY = List.of("朝阳", "海淀", "东城", "西城");
        city.put(PROVINCE, CITY);
        String PROVINCE2 = "山东";
        List<String> CITY2 = List.of("济南", "青岛", "淄博", "枣庄");
        city.put(PROVINCE2, CITY2);
        city.forEach((k, v) -> System.out.println(k + ":" + v));
    }


}
